import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
const store = new Vuex.Store({
	state: {
		tabList: [{
				index: 0,
				name: '首页',
				img: '/static/tabBar/home.png',
				acImg: '/static/tabBar/home-active.png',
				path: '/pages/index/index'
			}, {
				index: 1,
				name: '节点',
				img: '/static/tabBar/equipment.png',
				acImg: '/static/tabBar/equipment-active.png',
				path: '/pages/equipment/equipment'
			},
			{
				index: 2,
				name: '详情',
				img: '/static/tabBar/detail.png',
				acImg: '/static/tabBar/detail-active.png',
				path: '/pages/profit/profit'
			},
			{
				index: 3,
				name: '我的',
				img: '/static/tabBar/my.png',
				acImg: '/static/tabBar/my-active.png',
				path: '/pages/user/user'
			}
		]
	},
	getters: {},
	mutations: {},
	actions: {}
});
export default store;